<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>hello ${name}</h1>

<ol>
    <#if list1??>
        <li>a</li>
        <#list list1 as sub>
            <li>${sub.name}-${sub.id}</li>
        </#list>
    </#if>
</ol>
</body>
</html>